package com.ruoyi.postscript.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务附言对象 gc_postscript
 *
 * @author ruoyi
 * @date 2025-05-09
 */
@ApiModel
public class Postscript extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    @ApiModelProperty(value = "用户id")
    private String userId;

    /** 任务id */
    @Excel(name = "任务id")
    @ApiModelProperty(value = "任务id")
    private Long taskId;

    /** 附言内容 */
    @Excel(name = "附言内容")
    @ApiModelProperty(value = "附言内容")
    private String postscriptContent;

    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    private String nickName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }
    public void setTaskId(Long taskId)
    {
        this.taskId = taskId;
    }

    public Long getTaskId()
    {
        return taskId;
    }
    public void setPostscriptContent(String postscriptContent)
    {
        this.postscriptContent = postscriptContent;
    }

    public String getPostscriptContent()
    {
        return postscriptContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userid", getUserId())
            .append("taskId", getTaskId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("postscriptContent", getPostscriptContent())
            .toString();
    }
}
